body {
    background-color: #f0f0f8;
}

.global-title {
    background: #fff;
}

.search-header {
    >div {
        margin: 0 auto;
        width: 1200px;
        height: 160px;
        display: flex;
        justify-content: space-between;

        .search-header-left {
            margin-top: 30px;
            display: block;
            width: 180px;
            height: 67px;

            img {
                width: 180px;
                height: 67px;
            }
        }

        .search-header-right {
            padding-top: 48px;
            display: flex;

            .search-header-right-search {
                margin-right: 16px;

                >div:nth-of-type(1) {
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    input {
                        width: 430px;
                        height: 40px;
                        background-color: #ffffff;
                        border: solid 2px #438ad1;
                        border-right: 0;
                        padding-left: 30px;
                        box-sizing: border-box;
                        font-size: 14px;
                        color: #333;
                    }

                    input::-webkit-input-placeholder {
                        color: #999;
                    }

                    >div {
                        cursor: pointer;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 90px;
                        height: 40px;
                        background-color: #1e448c;
                        font-size: 16px;
                        color: #ffffff;
                    }
                }

                >div:nth-of-type(2) {
                    margin-top: 10px;
                    display: flex;
                    flex-wrap: wrap;

                    a {
                        font-weight: bold;
                        padding: 0 5px;
                        font-size: 14px;
                        color: #666666;
                        border-left: 1px solid #666666;
                    }

                    a:hover {
                        color: #1f468f;
                    }

                    >a:nth-of-type(1) {
                        border-left: 0;
                    }
                }
            }

            .search-header-car {
                width: 150px;
                height: 38px;
                background-color: #f8f8ff;
                border-radius: 1px;
                border: solid 1px #dbdbdb;
                display: flex;
                justify-content: center;
                align-items: center;

                img {
                    width: 20px;
                }

                span {
                    padding-left: 10px;
                    font-size: 14px;
                    color: #666666;
                }
            }
        }
    }
}

.classify-title {
    background-color: #dedeec;
    .classify-cont {
        position: relative;
        margin: 0 auto;
        height: 70px;
        width: 1200px;
        display: flex;
        align-items: center;
        .daohang{
            position: absolute;
            width: 260px;
            height: 410px;
            top:70px;
            left: 0;
            background: #333;
            opacity: 0.8;
            z-index: 999;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            >li{
                padding: 0px 20px;
                flex:1;
                >div{
                    height: 100%;
                    display: flex;
                    flex:1;
                    justify-content: space-evenly;
                    flex-direction: column;
                    border-bottom: dashed 1px #fff;
                }
            }
        }
        .classify-logo {
            width: 260px;
            height: 70px;
            background-color: #1f468f;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;

            span {
                font-weight: bold;
                font-size: 16px;
                color: #ffffff;
                box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
            }

            img {
                position: absolute;
                top: -58px;
            }
        }

        >a {
            margin-left: 100px;
            font-weight: bold;
            font-size: 16px;
            color: #333333;
        }

        .classify-this {
            color: #1f468f;
        }

        a:hover {
            color: #1f468f;
        }
    }
}

.banner {
    .swiper-banner {
        position: relative;
        height: 410px;
        width: 100%;
        a {
            display: block;
            height: 410px;
            width: 100%;

            img {
                object-fit: cover;
                height: 410px;
                width: 100%;
            }
        }
    }
}

.recommend-goods {
    height: 888px;

    .recommend-goods-header {
        width: 1200px;
        height: 80px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;

        >div {
            width: 20%;
            height: 40px;
            border-left: solid 1px #d2d2eb;
            display: flex;
            align-items: center;
            justify-content: center;

            >div {
                padding-left: 15px;
                font-size: 18px;
                color: #333333;
                font-weight: bold;
            }
        }

        >div:nth-of-type(1) {
            border-left: 0;

            img {
                width: 34px;
                height: 35px;
            }
        }

        >div:nth-of-type(2) {
            img {
                width: 31px;
                height: 31px;
            }
        }

        >div:nth-of-type(3) {
            img {
                width: 37px;
                height: 37px;
            }
        }

        >div:nth-of-type(4) {
            img {
                width: 36px;
                height: 30px;
            }
        }
    }

    >div:nth-of-type(2) {
        margin: 220px auto 0;
        width: 1200px;
        height: 467px;
        padding-top: 60px;
        box-sizing: border-box;
        position: relative;

        .swiper-container {
            width: 1065px;
            height: 347px;

            .recommend-goods-cont {
                background: #fff;
                display: block;
                width: 205px;

                >img {
                    display: block;
                    width: 205px;
                    height: 205px;

                }

                >div {
                    width: 205px;
                    height: 140px;
                    padding: 10px;
                    box-sizing: border-box;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    >div:nth-of-type(1) {
                        height: 40px;
                        font-size: 14px;
                        color: #000000;
                        font-weight: bold;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                    }

                    >div:nth-of-type(2) {
                        height: 40px;
                        font-size: 12px;
                        color: #666666;
                        text-overflow: -o-ellipsis-lastline;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 2;
                        -webkit-box-orient: vertical;
                    }

                    >div:nth-of-type(3) {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        >span:nth-of-type(1) {
                            font-size: 16px;
                            color: rgba(208, 2, 27, 0.85);
                        }

                        >span:nth-of-type(2) {
                            font-size: 12px;
                            color: #666666;
                        }
                    }
                }
            }

        }

        .recommend-goods-next {
            position: absolute;
            right: 0;
            top: 50%;
            margin-top: -30px;
            z-index: 100;
            width: 35px;
            height: 60px;
            background-color: #000000;
            opacity: 0.5;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;

            img {
                width: 10px;
                height: 20px;
            }
        }

        .recommend-goods-prev {
            position: absolute;
            left: 0;
            top: 50%;
            margin-top: -30px;
            z-index: 100;
            width: 35px;
            height: 60px;
            background-color: #000000;
            opacity: 0.5;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;

            img {
                width: 10px;
                height: 20px;
            }
        }
    }
}

.recommend-shop {
    height: 623px;

    padding-top: 77px;
    box-sizing: border-box;


    >div:nth-of-type(1) {
        background: url(../img/recommend_shop_back.png) no-repeat;
        width: 1200px;
        height: 545px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;

        >a {
            margin-top: 20px;
            margin-bottom: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            width: 20%;

            img {
                width: 160px;
                height: 80px;
                ;
            }

            p {
                padding-top: 12px;
                font-weight: bold;
                font-size: 16px;
                color: #333333;
            }

        }
    }
}

.goods-back {
    padding-top: 168px;
    padding-bottom: 110px;
}

.goods {
    width: 1200px;
    margin: 0 auto 90px;

    .goods-top {
        display: flex;

        >a {
            display: flex;
        }

        >a:nth-of-type(1) {
            flex: 1;
            height: 380px;
            box-sizing: border-box;
            padding: 40px;
            display: flex;
            flex-direction: column;

            >p:nth-of-type(1) {
                font-size: 24px;
                color: #ffffff;
                font-weight: bold;
            }

            >p:nth-of-type(2) {
                margin-top: 24px;
                font-size: 18px;
                color: #ffffff;
                font-weight: bold;
            }

            >div {
                margin-top: 40px;
                width: 60px;
                height: 5px;
                background-color: #ffffff;
            }
        }

        .goods-top-goods {
            width: 560px;
            height: 380px;
            position: relative;

            >img {
                width: 100%;
                height: 100%;
            }

            >div:nth-of-type(1) {
                display: flex;
                justify-content: center;
                align-items: center;
                position: absolute;
                bottom: 50px;
                left: 42px;
                height: 42px;
                padding: 0 10px;
                background-image: linear-gradient(135deg,
                        #ffcd89 0%,
                        #ff5633 100%);
                border-radius: 42px;
                font-size: 22px;
                color: #ffffff;
            }

            >div:nth-of-type(2) {
                position: absolute;
                bottom: 20px;
                left: 60px;
                font-size: 16px;
                color: #333333;
                font-weight: bold;
            }

        }

        >a:nth-of-type(3) {
            width: 400px;
            height: 380px;
            position: relative;

            >div:nth-of-type(1) {
                bottom: 50px;
                left: 20px;
            }

            >div:nth-of-type(2) {
                bottom: 20px;
                left: 44px;
            }
        }
    }

    .goods-bottom {
        background: #fff;
        display: flex;

        >a {
            flex: 1;
            border-left: solid 1px #dbdbdb;
            padding-bottom: 20px;

            >div:nth-of-type(1) {
                height: 160px;
                display: flex;
                justify-content: center;
                align-items: center;

                img {
                    width: 140px;
                    height: 140px;
                }
            }

            >p:nth-of-type(1) {
                text-align: center;
                font-size: 16px;
                color: #333333;
                font-weight: bold;
            }

            >div:nth-of-type(2) {
                padding: 5px 25px 0;
                display: flex;
                justify-content: space-between;
                align-items: center;

                >span:nth-of-type(1) {
                    font-size: 18px;
                    color: #d0021b;
                    font-weight: bold;
                }

                >span:nth-of-type(2) {
                    font-size: 14px;
                    color: #666666;
                    font-weight: bold;
                }
            }
        }

        >a:nth-of-type(1) {
            border-left: 0;
        }
    }
}